package com.itzjc.dao;

import com.itzjc.domain.pojo.User;
import org.apache.ibatis.annotations.Param;

/**
 * TODO
 *
 * @className: UserMapper
 * @date: 2021-06-10 09:30
 **/
public interface UserMapper {
    User findById(int id);

    User login(@Param("phone")String phone,@Param("password") String md5);


    void register(User user);

    void forget(User user);

    User findPhone(String phone);

    String findTeacherBelong();

}
